func golang.org/x/net/http2.streamError
24 uses
golang.org/x/net/http2 (current package)
errors.go#L82: func streamError(id uint32, code ErrCode) StreamError {
frame.go#L984: return nil, streamError(fh.StreamID, ErrCodeProtocol)
frame.go#L1070: return nil, streamError(fh.StreamID, ErrCodeProtocol)
server.go#L1393: sc.resetStream(streamError(st.id, ErrCodeNo))
server.go#L1606: return sc.countError("data_flow", streamError(f.Header().StreamID, ErrCodeFlowControl))
server.go#L1685: return sc.countError("bad_flow", streamError(f.StreamID, ErrCodeFlowControl))
server.go#L1710: sc.closeStream(st, streamError(f.StreamID, f.ErrCode))
server.go#L1887: return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
server.go#L1895: return sc.countError("closed", streamError(id, ErrCodeStreamClosed))
server.go#L1904: return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
server.go#L1912: return sc.countError("send_too_much", streamError(id, ErrCodeProtocol))
server.go#L1917: return sc.countError("flow_on_data_length", streamError(id, ErrCodeFlowControl))
server.go#L2042: return sc.countError("headers_half_closed", streamError(id, ErrCodeStreamClosed))
server.go#L2070: return sc.countError("over_max_streams", streamError(id, ErrCodeProtocol))
server.go#L2077: return sc.countError("over_max_streams_race", streamError(id, ErrCodeRefusedStream))
server.go#L2159: return sc.countError("trailers_not_ended", streamError(st.id, ErrCodeProtocol))
server.go#L2163: return sc.countError("trailers_pseudo", streamError(st.id, ErrCodeProtocol))
server.go#L2172: return sc.countError("trailers_bogus", streamError(st.id, ErrCodeProtocol))
server.go#L2187: return sc.countError("priority", streamError(streamID, ErrCodeProtocol))
server.go#L2249: return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2255: return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2268: return nil, nil, sc.countError("bad_path_method", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2315: return nil, nil, sc.countError(res.InvalidReason, streamError(st.id, ErrCodeProtocol))
transport.go#L2966: serr := streamError(cs.ID, f.ErrCode)